package com.xjh.basestudy.designmode.behaviorMode.behaviorMode1_TemplateMethod.p2_template;

/**
 * @Author XuJianHua
 * @Date 2022/9/26 23:10
 * @Description

 */
public class Human extends Mammal {

    @Override
    public void move() {
        System.out.print("人类在路上开着车……");
    }

    @Override
    public void eat() {
        System.out.println("去公司挣钱吃饭。");
    }

}